// @target: es5
var globalCounter = 0;
function incrementIdx(max) {
    globalCounter += 1;
    var idx = Math.floor(Math.random() * max);
    return idx;
}
var array1 = [
    1,
    2,
    3,
    4,
    5
];
var ref = array1[incrementIdx(array1.length)];
array1[incrementIdx(array1.length)] = Math.pow(ref, 3);
var ref1 = array1[incrementIdx(array1.length)], ref2 = array1[incrementIdx(array1.length)];
array1[incrementIdx(array1.length)] = Math.pow(ref2, array1[incrementIdx(array1.length)] = Math.pow(ref1, 2));
var ref3 = array1[incrementIdx(array1.length)];
array1[incrementIdx(array1.length)] = Math.pow(ref3, Math.pow(array1[incrementIdx(array1.length)], 2));
